package com.pbking.facebook.delegates.data
{
	import com.adobe.serialization.json.JSON;
	import com.pbking.facebook.Facebook;
	import com.pbking.facebook.delegates.FacebookDelegate;
	
	/**
	 * delegate for calling data.deleteObject.  
	 * 
	 * reference: http://wiki.developers.facebook.com/index.php/Data.deleteObject
	 * 
	 * @author sol wu
	 */
	public class DeleteObjectDelegate extends FacebookDelegate
	{				
		/**
		 * 
		 */
		public function DeleteObjectDelegate(facebook:Facebook, objid:Number)
		{
			super(facebook);
			fbCall.setRequestArgument("obj_id", objid);
			fbCall.post("facebook.data.deleteObject");
		}

	}
}